#!/usr/bin/env python
#Boa:App:BoaApp

import wx

import frame
import logging
modules ={u'frame': [1, 'Main frame of Application', u'frame.py']}

class BoaApp(wx.App):
    def OnInit(self):
        self.main = frame.create(None)
        self.main.Show()
        self.SetTopWindow(self.main)
        return True

def main():
    application = BoaApp(0)
    try:
        application.MainLoop()
    except Exception,e:
        logging.exception("exit AP")

if __name__ == '__main__':
    main()
